package com.tzbank.entity.backstage;

import com.tzbank.entity.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

/**
 * 抽奖管理配置
 * @author 蔡宇钿
 *2018年6月1日
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "mb_lottery_deploy")
@Table(appliesTo = "mb_lottery_deploy", comment = "抽奖配置表")
public class LotteryDeploy extends BaseModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6260622305163796878L;
	
	/**活动名称**/
	@ApiModelProperty(value = "活动名称")
	@Column(name = "active_name", columnDefinition = "varchar(100) NOT NULL COMMENT '活动名称' ")
	private String activename;
	
	/**奖品标的物类型**/
	@ApiModelProperty(value = "奖品标的物类型")
	@Column(name = "prize_type", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '奖品标的物类型' ")
	private String prizetype;
	
	/**活动开始日期**/
	@ApiModelProperty(value = "活动开始日期")
	@Column(name = "active_start_date", columnDefinition = "varchar(50) DEFAULT NULL COMMENT '活动开始日期' ")
	private String activestartDate;
	
	/**活动结束日期**/
	@ApiModelProperty(value = "活动结束日期")
	@Column(name = "active_end_date", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '活动结束日期' ")
	private String activeendDate;
	
	/**积分变动值**/
	@ApiModelProperty(value = "积分变动值")
	@Column(name = "number", columnDefinition = "varchar(10)  DEFAULT NULL COMMENT '积分变动值' ")
	private String number;
	
	/**最低中奖率**/
	@ApiModelProperty(value = "最低中奖率")
	@Column(name = "minwinrate", columnDefinition = "varchar(100)  DEFAULT NULL COMMENT '最低中奖率' ")
	private String minWinRate;
	
	/**最高中奖率**/
	@ApiModelProperty(value = "最高中奖率")
	@Column(name = "maxwinrate", columnDefinition = "varchar(100)  DEFAULT NULL COMMENT '最高中奖率' ")
	private String maxWinRate;
	
	/**最低奖品**/
	@ApiModelProperty(value = "最低奖品")
	@Column(name = "lowestprize", columnDefinition = "varchar(100)  DEFAULT NULL COMMENT '最低奖品' ")
	private String lowestPrize;
	
	/**最高奖品**/
	@ApiModelProperty(value = "最高奖品")
	@Column(name = "highestprize", columnDefinition = "varchar(100)  DEFAULT NULL COMMENT '最高奖品' ")
	private String highestPrize;
	
	/**事件**/
	@ApiModelProperty(value = "事件")
	@Column(name = "event", columnDefinition = "varchar(100)  DEFAULT NULL COMMENT '事件' ")
	private String event;
	
	/**状态**/
	@ApiModelProperty(value = "状态")
	@Column(name = "status", columnDefinition = "varchar(10) NOT NULL COMMENT '状态' ")
	private String status;
	
	/**操作人**/
	@ApiModelProperty(value = "操作人")
	@Column(name = "operator", columnDefinition = "varchar(100) NOT NULL COMMENT '操作人' ")
	private String operator;

	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext1", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext1;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext2", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext2;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext3", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext3;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext4", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext4;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext5", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext5;
	
}
